if ([(getPlayerUID player),["moderator","admin"]] call mp_rights_fnc_hasRoles) then {
	private ["_id","_rights","_grant"];
	
	_id = _this select 0;
	_rights = _this select 1;
	
	MSO_R_GrantRight = [_id,false,_rights];
	publicVariable "MSO_R_GrantRight";
	["MSO_R_GrantRight",MSO_R_GrantRight] call mp_rights_fnc_pveh;
} else {
	hint localize "STR_MP_RIGHTS_PERMISSION_DENIED";
};